module.exports = {
  
  
  LOCATION: {
    0: "教学楼",
    1: "图书馆",
    2: "食堂",
    3: "田径场",
    4: "宿舍",
    5: "东门",
    6: "西门",
    7: "南门",
    8: "北门",
    9: "其他地点"
  },

  LOSTTYPE: {
    0: "饭卡",
    1: "身份证",
    2: "银行卡",
    3: "学生证",
    4: "其他"
  },

  LOSTSTATUS: {
    0: "拾取",
    1: "丢失"
  },

  


  LOSTDAY: {
    0: "今天",
    1: "三天内",
    2: "一周内",
    3: "更早"
  },


  getExpressNameBycode(code) {
    for (let index in this.EXPRESS) {
      if (this.EXPRESS[index].code == code) {
        return this.EXPRESS[index].name;
      }
    }
  },

  getExpressColorBycode(code) {
    for (let index in this.EXPRESS) {
      if (this.EXPRESS[index].code == code) {
        return this.EXPRESS[index].color;
      }
    }
  },

  getStatusNameByCode(code) {
    for (let index in this.STATUS) {
      if (this.STATUS[index].code == code) {
        return this.STATUS[index].name;
      }
    }
  },

}